#include <iostream>
#include <vector>

using namespace ::std;
using std::vector;

int main() {
  vector<int> nums;
  int num;
  while (cin >> num) nums.push_back(num);
  for (decltype(nums.size()) i = 1; i < nums.size(); ++i)
    cout << (nums[i] + nums[i - 1]) << " ";
  cout << endl;
  return 0;
}